<template>
	<view class="bg">
		<image :src="this.commonImg()+'recruitment-bg.jpg'" mode="widthFix" class="recruitment-bg"></image>

		<view class="content">
			<p>回收合伙人招募报名</p>
			<p><br></p>
			<image show-menu-by-longpress="true" src="/static/img/addnew.jpg"></image>
			<view class="seeTxt">长按识别二维码</view>
		</view>



		<view class="list">
			<view class="title">—— 邀请记录 ——</view>
				<block v-for="(item,index) of recruitmentList" :key="index">
				<li class="t_01">
					<view class="t_01_1 flex">
						<!-- <text class="mc">asdsad</text> -->
						<text class="mc">{{index+1}}</text>
						<text>{{item.user_name}}</text>
					</view>
					<view class="t_01_1 price">
						{{item.ctime}}
					</view>
				</li>
			</block>
			<view class="nodata" v-if="recruitmentList.length==0">
				<image :src='this.commonImg() + "nodata.png"' alt=""></image>
				<p style="font-weight: 0">你还没有邀请哦~</p>
			</view>

		</view>






		<!-- 	<view class="logo"> -->
		<!-- <image :src='this.commonImg() + "logol.png"' mode="widthFix"></image> -->
		<!-- 	</view> -->


		<!-- <view class="title">
			<p></p>
			<p>什么是互联网回收</p>
			<view class="t2">
				用户在衣之光回收平台下单，衣之光回收安排快递员或者骑手上门回收，回收完成后返现到用户账户，随时可以提现。
			</view>
		</view>
		<view class="title">
			<p></p>
			<p>作为合伙人，你需要</p>
			<view class="t1">
				有线下人脉资源
			</view>
			<view class="t2">
				比如小区物业，家政公司，大学社团等
			</view>
			<view class="t1">
				有线上人脉资源
			</view>
			<view class="t2">
				比如兼职社群，抖音、视频号、小红书等达人网红
			</view>
		</view>
		<view class="title">
			<p></p>
			<p>如果想赚的更多，你可以</p>
			<view class="t1">
				主动拓展推广渠道
			</view>
			<view class="t2">
				积极寻找更多的推广渠道，发展更多的推广员
			</view>
			<view class="t1">
				学习更多推广方法
			</view>
			<view class="t2">
				积极参加我们提供的培训，手把手教你如何推广
			</view>
		</view>
		<view class="content">
			<p>回收合伙人招募报名</p><p><br></p>
			<image show-menu-by-longpress="true" src="/static/img/addnew.jpg"></image>
			<view class="seeTxt">长按识别二维码</view>
		</view> -->
		<view class="copyright">
			<p>Copyright©2024衣之光版权所有</p>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				content: '加载中....',
				recruitmentList: [],
			};
		},
		onLoad() {
			uni.showLoading({
				title: '请稍后'
			})
			uni.hideLoading();

			// 邀请记录
			this.$api.http.get('user-invite-list', {}).then(res => {
				if (res.code == 1) {
					this.recruitmentList = res.data.list
				}
			})


		},
		methods: {}
	}
</script>

<style lang="scss">
	page {
		background: #fff;
	}

	.logo {
		width: 100%;
		text-align: center;

		image {
			width: 250upx;
			margin: 50upx 0 0;
			;
		}
	}

	.bg {
		background: #88e1a9;

	}

	.recruitment-bg {
		width: 100%;
	}

	.content {
		background: #EFFEDF;
		margin: 20rpx auto;
		width: 90%;
		padding: 20rpx;
		color: #333;
		font-size: 28upx;
		line-height: 48upx;
		overflow: hidden;
		text-align: center;
		box-sizing: border-box;

		image {
			width: 250upx;
			height: 250upx;
		}
	}

	.list {
		background: #fff;
		width: 90%;
		margin: 40rpx auto;
		.title{
			text-align: center;
			color: #414141;
			background: none;
			padding-top: 40rpx;
			font-weight: bold;
			font-size: 30rpx;
		}
		.t_01 {
			display: flex;
			height: 100upx;
			line-height: 100upx;
			border-bottom: 1px solid #eee;
		}
.t_01_1 {
			width: 34%;
			text-align: center;
			font-size: 26rpx;
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
		}

		.t_01_1.flex {
			display: flex;
			align-items: center;
			padding-left: 7%;

			text {
				margin-left: 10rpx;
			}
		}

		.t_01_1 img {
			width: 60upx;
			height: 60upx;
			border-radius: 60upx;
		}

		.t_01_1.price {
			color: #21A56C;

			text {
				color: #999;
			}
		}
		.t.rank {
			.t_01 .t_01_1 {
				width: 50%;
				justify-content: initial;
				box-sizing: border-box;

				.mc {
					width: 40rpx;
					height: 40rpx;
					line-height: 40rpx;
					background: #e9fff5;
					color: #21A56C;
					border-radius: 50%;
					margin-left: 0;
					margin-right: 40rpx;
					font-size: 24rpx;
				}
			}

			.t_01:nth-child(1) .mc,
			.t_01:nth-child(2) .mc,
			.t_01:nth-child(3) .mc {
				color: #fff;
				font-weight: bold;
				border-radius: 0;
			}
		}

	}

	.content p {
		margin-top: 32rpx;
		font-weight: bold;
	}

	.title {
		background: #EFFEDF;
		width: 92%;
		margin: 0 auto 40rpx;
		padding: 20rpx;
		box-sizing: border-box;
		border-radius: 20rpx;
		overflow: hidden;
		border-radius: 20rpx;
		text-align: center;
		box-sizing: border-box;
	}

	.title p {
		margin-top: 32rpx;
		font-size: 28upx;
		font-weight: bold;
	}

	.title .t1 {
		margin-top: 21rpx;
		font-size: 24upx;
		font-weight: bold;
		text-align: left;
	}

	.title .t2 {
		margin-top: 12rpx;
		font-size: 20upx;
		text-align: left;
	}

	.copyright {
		width: 100%;
		text-align: center;
		margin: 0 auto;
		padding: 50px 0;
		color: #fff;
		font-size: 24upx;

	}
</style>